/* 企业管理模块 */
import { ajax } from 'utils'

/* get */

//国际机构-列表基础数据
export const internationalMachinerySelectList = ajax.fetchJSONStringByGet('content/institution/list/query')

//国际机构-列表详情查看
export const internationalMachineryInfoList = ajax.fetchJSONStringByGet('content/institution/details')

//国际机构-添加机构
export const addInternationalMachineryList = ajax.fetchJSONStringByPost('content/institution/add')

//国际机构-编辑机构
export const editInternationalMachineryList = ajax.fetchJSONStringByPost('content/institution/edit')

//国际机构-删除机构
export const deleteInternationalInfoList = ajax.fetchJSONStringByPost('content/institution/delete')

//国际机构-添加机构课程
export const addMachineryCourseList = ajax.fetchJSONStringByPost('content/institution/addCourse')

//国际机构-编辑机构课程
export const editMachineryCourseList = ajax.fetchJSONStringByPost('content/institution/editCourse')

//国际机构-查询机构课程详情
export const machineryCourseInfoList = ajax.fetchJSONStringByGet('content/institution/getCourseInfo')

//国际机构-删除机构课程
export const deleteCourseInfoList = ajax.fetchJSONStringByPost('content/institution/deleteCourse')

//行业协议-列表基础数据
export const industryAssociationSelectList = ajax.fetchJSONStringByGet('content/guild/query')

//行业协议-列表详情
export const industryAssociationInfoList = ajax.fetchJSONStringByGet('content/guild/query/id')

//行业协议-新增
export const addIndustryAssociationList = ajax.fetchJSONStringByPost('content/guild/add')

//行业协议-编辑
export const editIndustryAssociationList = ajax.fetchJSONStringByPost('content/guild/update')

//行业协议-删除
export const deleteIndustryAssociationList = ajax.fetchJSONStringByPost('content/guild/delete')

//陵园列表-列表基础数据
export const cemeteryListSelectList = ajax.fetchJSONStringByGet('content/cemetery/query')

//陵园列表-列表详情
export const cemeteryListInfoList = ajax.fetchJSONStringByGet('content/cemetery/query/id')

//陵园列表-新增
export const addCemeteryListList = ajax.fetchJSONStringByPost('content/cemetery/add')

//陵园列表-编辑
export const editCemeteryListList = ajax.fetchJSONStringByPost('content/cemetery/update')

//陵园列表-删除
export const deleteCemeteryListList = ajax.fetchJSONStringByPost('content/cemetery/delete')

//殡仪馆列表-列表基础数据
export const funeralParlourSelectList = ajax.fetchJSONStringByGet('content/undertaker/query')

//殡仪馆列表-列表详情
export const funeralParlourInfoList = ajax.fetchJSONStringByGet('content/undertaker/query/id')

//殡仪馆列表-新增
export const addFuneralParlourList = ajax.fetchJSONStringByPost('content/undertaker/add')

//殡仪馆列表-编辑
export const editFuneralParlourList = ajax.fetchJSONStringByPost('content/undertaker/update')

//殡仪馆列表-删除
export const deleteFuneralParlourList = ajax.fetchJSONStringByPost('content/undertaker/delete')

//公司列表-列表基础数据
export const companyListSelectList = ajax.fetchJSONStringByGet('content/company/query')

//公司列表-列表详情
export const companyListInfoList = ajax.fetchJSONStringByGet('content/company/query/id')

//公司列表-操作状态
export const companyHandleList = ajax.fetchJSONStringByPost('content/company/operate')

//公司列表-新增
export const addCompanyList = ajax.fetchJSONStringByPost('content/company/backstage/add')

//公司列表-编辑
export const editCompanyList = ajax.fetchJSONStringByPost('content/company/backstage/add')

//公司列表-检查名字
export const checkCompanyNameList = ajax.fetchJSONStringByGet('content/company/by/accurate/name')


//需求广场-列表基础数据
export const demandSquareSelectList = ajax.fetchJSONStringByGet('content/demand/query')

//需求广场-需求隐藏
export const demandSquareHideList = ajax.fetchJSONStringByGet('content/demand/show/hide')

//招聘广场-列表基础数据
export const employmentSquareSelectList = ajax.fetchJSONStringByGet('content/advertise/query')

//招聘广场-隐藏信息
export const hideEmploymentList = ajax.fetchJSONStringByPost('content/advertise/cancel')

//关联员工-员工列表查询
export const getStaffListList = ajax.fetchJSONStringByGet('account/company/account/query')

//关联员工-绑定提交
export const relatedSendList = ajax.fetchJSONStringByPost('content/company/account/relation')

//解绑员工-查询该公司已绑定的员工
export const getRelatedStaffList = ajax.fetchJSONStringByGet('account/company/account/query/by/username')

//解绑员工-解绑提交
export const untieSendList = ajax.fetchJSONStringByPost('content/company/account/relieve/bind')

/* post
   export const houseDetail = ajax.fetchJSONByPost('/house/detail')
*/ 

